package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 费用分摊模板管理对象 jyjc_sharing_expenses_demo
 *
 * @author ruoyi
 * @date 2025-08-04
 */
public class ExpensesDemo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 年度 */
    @Excel(name = "年度")
    private String year;

    /** 月份 */
    @Excel(name = "月份")
    private String yf;

    /** 日期 */
    @Excel(name = "日期")
    private String ftdate;

    /** 部门 */
    @Excel(name = "部门")
    private String deptcode;

    /** 经济科目 */
    @Excel(name = "经济科目")
    private String economicKm;

    /** 包含的费用 */
    @Excel(name = "包含的费用")
    private String expenseType;

    /** 总金额 */
    @Excel(name = "总金额")
    private String zmoney;

    /** 经济科目金额 */
    @Excel(name = "经济科目金额")
    private BigDecimal shflag;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;

    /** 状态 */
    @Excel(name = "状态")
    private String flag;

    /** 分摊费用子信息 */
    private List<JyjcSharingExpensesDataDemo> jyjcSharingExpensesDataDemoList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setYear(String year)
    {
        this.year = year;
    }

    public String getYear()
    {
        return year;
    }

    public void setYf(String yf)
    {
        this.yf = yf;
    }

    public String getYf()
    {
        return yf;
    }

    public void setFtdate(String ftdate)
    {
        this.ftdate = ftdate;
    }

    public String getFtdate()
    {
        return ftdate;
    }

    public void setDeptcode(String deptcode)
    {
        this.deptcode = deptcode;
    }

    public String getDeptcode()
    {
        return deptcode;
    }

    public void setEconomicKm(String economicKm)
    {
        this.economicKm = economicKm;
    }

    public String getEconomicKm()
    {
        return economicKm;
    }

    public void setExpenseType(String expenseType)
    {
        this.expenseType = expenseType;
    }

    public String getExpenseType()
    {
        return expenseType;
    }

    public void setZmoney(String zmoney)
    {
        this.zmoney = zmoney;
    }

    public String getZmoney()
    {
        return zmoney;
    }

    public void setShflag(BigDecimal shflag)
    {
        this.shflag = shflag;
    }

    public BigDecimal getShflag()
    {
        return shflag;
    }

    public void setOrderNum(Long orderNum)
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum()
    {
        return orderNum;
    }

    public void setFlag(String flag)
    {
        this.flag = flag;
    }

    public String getFlag()
    {
        return flag;
    }

    public List<JyjcSharingExpensesDataDemo> getJyjcSharingExpensesDataDemoList()
    {
        return jyjcSharingExpensesDataDemoList;
    }

    public void setJyjcSharingExpensesDataDemoList(List<JyjcSharingExpensesDataDemo> jyjcSharingExpensesDataDemoList)
    {
        this.jyjcSharingExpensesDataDemoList = jyjcSharingExpensesDataDemoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("year", getYear())
                .append("yf", getYf())
                .append("ftdate", getFtdate())
                .append("deptcode", getDeptcode())
                .append("economicKm", getEconomicKm())
                .append("expenseType", getExpenseType())
                .append("zmoney", getZmoney())
                .append("shflag", getShflag())
                .append("orderNum", getOrderNum())
                .append("flag", getFlag())
                .append("jyjcSharingExpensesDataDemoList", getJyjcSharingExpensesDataDemoList())
                .toString();
    }
}
